Optimal. Leaf size=74 \[ -\frac{2 (e \cos (c+d x))^{3/2}}{d e (a \sin (c+d x)+a)}-\frac{2 E\left (\left .\frac{1}{2} (c+d x)\right |2\right ) \sqrt{e \cos (c+d x)}}{a d \sqrt{\cos (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0679212, antiderivative size = 74, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.12, Rules used = {2683, 2640, 2639} \[ -\frac{2 (e \cos (c+d x))^{3/2}}{d e (a \sin (c+d x)+a)}-\frac{2 E\left (\left .\frac{1}{2} (c+d x)\right |2\right ) \sqrt{e \cos (c+d x)}}{a d \sqrt{\cos (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2683
Rule 2640
Rule 2639
Rubi steps
\begin{align*} \int \frac{\sqrt{e \cos (c+d x)}}{a+a \sin (c+d x)} \, dx &=-\frac{2 (e \cos (c+d x))^{3/2}}{d e (a+a \sin (c+d x))}-\frac{\int \sqrt{e \cos (c+d x)} \, dx}{a}\\ &=-\frac{2 (e \cos (c+d x))^{3/2}}{d e (a+a \sin (c+d x))}-\frac{\sqrt{e \cos (c+d x)} \int \sqrt{\cos (c+d x)} \, dx}{a \sqrt{\cos (c+d x)}}\\ &=-\frac{2 \sqrt{e \cos (c+d x)} E\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{a d \sqrt{\cos (c+d x)}}-\frac{2 (e \cos (c+d x))^{3/2}}{d e (a+a \sin (c+d x))}\\ \end{align*}
Mathematica [C] time = 0.0419868, size = 66, normalized size = 0.89 \[ -\frac{2^{3/4} (e \cos (c+d x))^{3/2} \, _2F_1\left (\frac{3}{4},\frac{5}{4};\frac{7}{4};\frac{1}{2} (1-\sin (c+d x))\right )}{3 a d e (\sin (c+d x)+1)^{3/4}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.831, size = 115, normalized size = 1.6 \begin{align*} -2\,{\frac{ \left ( \sqrt{ \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}}\sqrt{2\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}-1}{\it EllipticE} \left ( \cos \left ( 1/2\,dx+c/2 \right ) ,\sqrt{2} \right ) -2\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}\cos \left ( 1/2\,dx+c/2 \right ) +\sin \left ( 1/2\,dx+c/2 \right ) \right ) e}{\sqrt{-2\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}e+e}\sin \left ( 1/2\,dx+c/2 \right ) ad}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{e \cos \left (d x + c\right )}}{a \sin \left (d x + c\right ) + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{e \cos \left (d x + c\right )}}{a \sin \left (d x + c\right ) + a}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{e \cos \left (d x + c\right )}}{a \sin \left (d x + c\right ) + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]